package com.csx.micrometer.simple.threadpool.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author cuisongxu
 * @date 2023/2/7 16:12
 */
@Data
@ConfigurationProperties("micrometer.threadpool")
public class ThreadPoolProperties {

    private int corePoolSize = 5;

    private int maximumPoolSize = 10;

    private long keepAliveTime = 60L;

    private int queueSize = 50;
}
